package com.dwd.basic.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/5 14:27
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("分页属性")
public class PageBean<T> {
    @ApiModelProperty("总条数")
    private Long totals;
    @ApiModelProperty("每页数据")
    private List<T> data;
}
